package com.example.superoa.model.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.superoa.model.vo.RankVo;

@Mapper
public interface RankMapper {
		//多表查询离职员工信息
		public List<RankVo> rankselect();
		//离职审核
		public void rankstate(@Param("Rank_appstate")String rank_appstate,@Param("Rank_id")int rank_id);
		//根据id查询审核信息
		public RankVo selectrankByid(int rank_id);
		
		//查询离职结果
		public List<RankVo> ranksheAll();
		
		//审核成功之后修改离职员工的状态
		public void staffstag(@Param("Staff_sfzz")String Staff_sfzz, @Param("staff_id") int staffId);
}
